﻿#ifndef BSLLABELANDINTEDIT_H
#define BSLLABELANDINTEDIT_H


#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QHBoxLayout>
#include <QPainter>
#include <QColor>



namespace Ui {
class bslLabelAndIntEdit;
}




class bslLabelAndIntEdit : public QWidget
{
    Q_OBJECT

public:
    explicit bslLabelAndIntEdit(QWidget *parent = nullptr);
    ~bslLabelAndIntEdit();


    QLabel*         pLabel          = nullptr;
    QLineEdit*      pLineEditInt    = nullptr;
    QHBoxLayout*    pHBoxLayout     = nullptr;

    void    SetBacgroundColr(QColor Color);
    virtual void paintEvent(QPaintEvent *event);
private:
    Ui::bslLabelAndIntEdit *ui;

};

#endif // BSLLABELANDINTEDIT_H
